package com.ruoyi.system.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.SinSincerity;

/**
 * 诚信事迹Mapper接口
 *
 * @author buke
 * @date 2023-03-10
 */
public interface SinSincerityMapper extends BaseMapper<SinSincerity>
{
    /**
     * 查询诚信事迹
     *
     * @param id 诚信事迹主键
     * @return 诚信事迹
     */
    public SinSincerity selectSinSincerityById(Long id);

    /**
     * 查询诚信事迹列表
     *
     * @param sinSincerity 诚信事迹
     * @return 诚信事迹集合
     */
    public List<SinSincerity> selectSinSincerityList(SinSincerity sinSincerity);

    /**
     * 新增诚信事迹
     *
     * @param sinSincerity 诚信事迹
     * @return 结果
     */
    public int insertSinSincerity(SinSincerity sinSincerity);

    /**
     * 修改诚信事迹
     *
     * @param sinSincerity 诚信事迹
     * @return 结果
     */
    public int updateSinSincerity(SinSincerity sinSincerity);

    /**
     * 删除诚信事迹
     *
     * @param id 诚信事迹主键
     * @return 结果
     */
    public int deleteSinSincerityById(Long id);

    /**
     * 批量删除诚信事迹
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSinSincerityByIds(Long[] ids);
}
